import {Handler} from '@srcTypes/route';
import {Request, Response} from 'express';
import {resp} from '@srcUtils/resp';

export const eventCallback: Handler = (req: Request, res: Response) => {
    console.log(req.body, req.headers);
    res.json(resp.setSuccess().setData({msg: 'node is ok'}).collect());
};
